package com.guigu.guliproduct.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.guigu.gulicommon.constant.enumes.product.QuickShow;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * spu属性值
 * </p>
 *
 * @author 陈俊杰
 * @since 2024-07-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("pms_product_attr_value")
@AllArgsConstructor
@NoArgsConstructor
public class ProductAttrValue implements Serializable {

    private static final long serialVersionUID = 1L;

    /*
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /*
     * 商品id
     */
    private Long spuId;

    /*
     * 属性id
     */
    private Long attrId;

    /*
     * 属性名
     */
    private String attrName;

    /*
     * 属性值
     */
    private String attrValue;

    /*
     * 顺序
     */
    private Integer attrSort;

    /*
     * 快速展示【是否展示在介绍上；0-否 1-是】
     */
    private QuickShow quickShow;


}
